<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<div class="modal-dialog x-modal-dialog">
  <div class="modal-content">

    <div class="modal-header">
      <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
      <h4 class="modal-title">冻结</h4>
    </div>

    <form class="form-horizontal x-form" role="form" method="POST" action="${ctx.host}/principals/${id}/freeze" data-validate="true">

      <input type="hidden" name="_method" value="PATCH"/>
      <input type="hidden" name="id" value="${principal.id}"/>

      <div class="modal-body">

        <p class="confirm">
          <i class="glyphicon glyphicon-flash glyphicon-position-fix-2"></i>&nbsp;&nbsp;是否确认冻结该用户？
        </p>

      </div>

      <div class="modal-footer x-modal-footer">
        <button type="submit" class="btn x-btn btn-primary">确定</button>
        <button type="button" class="btn x-btn x-btn-gary" data-dismiss="modal">取消</button>
      </div>
    </form>
    
  </div>
</div>